package mesweb.mesweb.mapper.produce;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mesweb.mesweb.dto.ProducePlan.DayReportDetailConditionDto;
import mesweb.mesweb.entity.produce.ProduceWEDF;
import mesweb.mesweb.vo.produce.ProduceWEDFVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 物料齐套
 * @Author: jeecg-boot
 * @Date:   2021-09-02
 * @Version: V1.0
 */
public interface ProduceWEDFMapper extends BaseMapper<ProduceWEDF> {

    IPage<ProduceWEDFVo> checkCurrentWEDF(Page page, @Param("ew") QueryWrapper queryWrapper);
    List<ProduceWEDFVo> checkCurrentWEDF(@Param("ew") QueryWrapper queryWrapper);

    IPage<ProduceWEDFVo> getProductMaterial(Page page, DayReportDetailConditionDto dayReportDetailConditionDto);
    List<ProduceWEDFVo> getProductMaterial(DayReportDetailConditionDto dayReportDetailConditionDto);

    IPage<ProduceWEDFVo> getOrderProductMaterial(Page page,  @Param("drt") DayReportDetailConditionDto dayReportDetailConditionDto);
    List<ProduceWEDFVo> getOrderProductMaterial(@Param("drt") DayReportDetailConditionDto dayReportDetailConditionDto);

}
